#!/bin/bash
kubectl exec -n ones-installer -it $(kubectl -n ones-installer get po  | grep installer-api | awk {'print $1'}) -c installer-api -- bash -c "cd /data/ones/ones-ai-k8s && make logs-mysql-xbackup NAMESPACE=ones TAIL=100"